package HomeWork;

/**
 * @description:
 * @Author yyp
 * @time
 */
public class HomeWork05 {
    public static void main(String[] args) {
        A a = new A();
        a.show();
    }
}

class A{
    class B{
        private final String NAME = "testB";
        public void show(){
            System.out.println(this.NAME);
            System.out.println(name);
        }
    }
    public void show(){
        B b = new B();
        b.show();
        System.out.println(this.name);
        System.out.println(name);
    }
    private final String name = "testA";
}
